<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>test.vim</title>
<meta name="Generator" content="Vim/7.4">
<meta name="plugin-version" content="2html_test">
<meta name="syntax" content="vim">
<meta name="settings" content="no_progress,ignore_folding,no_pre,whole_filler,use_css,diff_one_file,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
<meta name="colorscheme" content="none">
<style type="text/css">
<!--
body { color: #ffffff; background-color: #000000; font-family: monospace; }
* { font-size: 1em; }
.Statement { color: #ffff60; font-weight: bold; }
.PreProc { color: #ff80ff; }
.Type { color: #60ff60; font-weight: bold; }
.Conceal { color: #e0e0e0; background-color: #808080; padding-bottom: 1px; }
.LineNr { color: #ffff00; }
.Comment { color: #80a0ff; }
.Constant { color: #ffa0a0; }
.Special { color: #ffa500; }
.DiffAdd { background-color: #000080; padding-bottom: 1px; }
.DiffChange { background-color: #800080; padding-bottom: 1px; }
.DiffDelete { color: #0000ff; background-color: #008080; padding-bottom: 1px; font-weight: bold; }
.DiffText { background-color: #ff0000; padding-bottom: 1px; font-weight: bold; }
-->
</style>

<script type='text/javascript'>
<!--

/* function to open any folds containing a jumped-to line before jumping to it */
function JumpToLine()
{
  var lineNum;
  lineNum = window.location.hash;
  lineNum = lineNum.substr(1); /* strip off '#' */

  if (lineNum.indexOf('L') == -1) {
    lineNum = 'L'+lineNum;
  }
  lineElem = document.getElementById(lineNum);
  /* Always jump to new location even if the line was hidden inside a fold, or
   * we corrected the raw number to a line ID.
   */
  if (lineElem) {
    lineElem.scrollIntoView(true);
  }
  return true;
}
if ('onhashchange' in window) {
  window.onhashchange = JumpToLine;
}

-->
</script>
</head>
<body onload='JumpToLine();'>
<div id='vimCodeElement'>
<span id="L1" class="LineNr"></span><span class="Comment">&quot; source this file to view a test of the conceal feature</span><br>
<span id="L2" class="LineNr"></span><span class="Comment DiffChange">&quot;&nbsp;</span><span class="Comment DiffText">change</span><span class="Comment DiffChange">&nbsp;the conceallevel by pressing &gt; or &lt; to see it change</span><br>
<span id="L3" class="LineNr"></span><br>
<span id="L4" class="LineNr"></span><br>
<span id="L5" class="LineNr"></span><span class="Comment">&quot;{{{{{{ start 2 folds</span><br>
<span id="L6" class="LineNr"></span><span class="Statement">syntax</span>&nbsp;<span class="Type">match</span>&nbsp;<span class="Type">concealmatch</span>&nbsp;<span class="Constant">/conceal matched text conceal/</span>&nbsp;<span class="Special">conceal</span>&nbsp;<span class="Special">containedin=</span>all<br>
<span id="L7" class="LineNr"></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Statement">syntax</span>&nbsp;<span class="Type">match</span>&nbsp;<span class="Type">concealconsec</span>&nbsp;<span class="Constant">/consecutive match/</span>&nbsp;<span class="Special">conceal</span>&nbsp;<span class="Special">containedin=</span>all<br>
<span id="L8" class="LineNr"></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Statement">syntax</span>&nbsp;<span class="Type">region</span>&nbsp;<span class="Type">concealregion</span>&nbsp;<span class="Type">start</span>=<span class="Constant">/conceal--&gt;/</span>&nbsp;<span class="Type">end</span>=<span class="Constant">/&lt;--conceal/</span>&nbsp;<span class="Special">conceal</span>&nbsp;cchar=»&nbsp;<span class="Special">containedin=</span>all<br>
<span id="L9" class="LineNr"></span><span class="Statement">syntax</span>&nbsp;<span class="Type">region</span>&nbsp;<span class="Type">concealends</span>&nbsp;<span class="Special">matchgroup=</span><span class="Type">conceal</span>edend&nbsp;<span class="Type">start</span>=<span class="Constant">/concealed end\ze&lt;--/</span>&nbsp;<span class="Type">end</span>=<span class="Constant">/--&gt;\zsconcealed end/</span>&nbsp;<span class="Special">concealends</span>&nbsp;<span class="Special">containedin=</span>all<br>
<span id="L10" class="LineNr"></span><span class="Comment">&quot;}}} end fold 1</span><br>
<span id="L11" class="LineNr"></span><br>
<span id="L12" class="LineNr"></span><span class="Statement">set</span>&nbsp;<span class="PreProc">conceallevel</span>=1<br>
<span id="L13" class="LineNr"></span><span class="Statement">nmap</span>&nbsp;&gt;&nbsp;:set conceallevel+=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span><br>
<span id="L14" class="LineNr"></span><span class="Statement">nmap</span>&nbsp;&lt;&nbsp;:set conceallevel-=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span><br>
<span id="L15" class="LineNr"></span><br>
<span id="L16" class="LineNr"></span><span class="Statement">finish</span><br>
<span id="L17" class="LineNr"></span><span class="Comment">&quot;}}} end fold 2</span><br>
<span id="L18" class="LineNr"></span><br>
<span class="DiffDelete">------</span><br>
<span class="DiffDelete">------</span><br>
<span class="DiffDelete">------</span><br>
<span id="L19" class="LineNr"></span><br>
<span id="L20" class="LineNr"></span><span class="Statement">------------------------------------------------------</span><br>
<span id="L21" class="LineNr"></span><br>
<span id="L22" class="LineNr"></span><span class="DiffChange">test</span><span class="DiffChange">&nbsp;</span><span class="DiffChange">conceal</span><span class="DiffChange">&nbsp;</span><span class="DiffText">by</span><span class="DiffText">&nbsp;</span><span class="DiffText">matching</span><span class="DiffChange">:</span><span class="DiffChange">&nbsp;</span><br>
<span id="L23" class="LineNr"></span>test&nbsp;two&nbsp;matches&nbsp;in_a&nbsp;row:&nbsp;consecutive&nbsp;_match<br>
<span id="L24" class="LineNr"></span>test&nbsp;conceal&nbsp;by&nbsp;region:&nbsp;<span class="Conceal">»</span><br>
<span id="L25" class="LineNr"></span><span class="Conceal">»</span><br>
<span id="L26" class="LineNr"></span><span class="Conceal">»</span><br>
<span id="L27" class="LineNr"></span>test&nbsp;concealends:&nbsp;&lt;-- some text that is_not concealed --&gt;<br>
<span id="L28" class="LineNr"></span><br>
<span id="L29" class="LineNr"></span>&nbsp;<span class="Statement">vim</span>:&nbsp;fdm<span class="Statement">=</span>marker<br>
</div>
</body>
</html>
<!-- vim: set foldmethod=manual : -->
